import {Component, ElementRef, NgZone, OnInit} from '@angular/core';
import {NavController} from '@ionic/angular';
import {BaseTabPage} from '../../common/baseTabPage';

/**
 * 保障体系
 */
@Component({
  selector: 'app-guarantee-system',
  templateUrl: './guarantee-system.page.html',
  styleUrls: ['./guarantee-system.page.scss'],
})
export class GuaranteeSystemPage extends BaseTabPage implements OnInit {

  constructor(
    public zone: NgZone,
    public elRef: ElementRef,
    public navCtrl: NavController
  ) {
    super(zone, elRef);
  }

  ngOnInit() {
    // 获取header中的元素
    this.getTopElement();
  }

  goBack() {
    this.navCtrl.pop();
  }

}
